<%@ page contentType="text/html; charset=UTF-8" errorPage="/base/jsp/common/CommonError.jsp"%>
<%@ include file="/base/jsp/common/Taglibs.jsp"%>
<%@ include file="/base/jsp/common/CustomTheme.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>易臣协同办公软件</title>
<link href="${ctx}/base/css/left_menu.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/base/css/${customTheme}.css" rel="stylesheet" type="text/css" />
<script src="${ctx}/base/js/MenuTree.js" type="text/javascript"></script>

</head>
<%
response.setHeader("Pragma","No-cache"); 
response.setHeader("Cache-Control","no-cache"); 
response.setDateHeader("Expires", 0);

%>
<body class="leftBody">
<div id="root" style="width:174px;height:expression(document.body.clientHeight);overflow:auto"></div>
<c:set var="idx" value="0"/>
<script type="text/javascript">
var treeData = MenuTree.initMenuTreeData([<c:forEach items="${moduleList}" var="module"><c:set var="idx" value="${idx+1}"/>
	{id:'${module.id}',pid:'<c:choose><c:when test="${module.parentModule.id==null}">0</c:when><c:otherwise>${module.parentModule.id}</c:otherwise></c:choose>',code:'',pname:'${module.name}',leafFlag:'${module.leafFlag}',desc:'',pdo:'${ctx}${module.href}',target:'${module.target}',orderid:'${module.orderNo}'}<c:if test="${fn:length(moduleList)>idx}">,</c:if>
	</c:forEach>]);
MenuTree.createTree({id : 'menuTree',topMenuId: '0',treeData: treeData,collapsed : false});
</script>
</body>
</html>